import request from '@/utils/request'

export function GetOwnerList(data) {
  return request({
    url: '/Owner/GetOwnerList',
    method: 'post',
    data:data
  })
}
export function OwnerAdd(data) {
  return request({
    url: '/Owner/OwnerAdd',
    method: 'post',
    data:data
  })
}

export function DelOwnerById(ow_id) {
  return request({
    url: '/Owner/DelOwnerById?ow_id='+ow_id,
    method: 'post',
    data:ow_id
  })
}

export function GetOwnerById(data) {
  return request({
    url: '/Owner/GetOwnerById?ow_id='+data,
    method: 'post',
    data
  })
}

export function OwnerUpdate(data) {
  return request({
    url: '/Owner/OwnerUpdate',
    method: 'post',
    data:data
  })
}